Teacher Version

Hero Image
Hero Image

Already Pressed

Already Pressed

What happens if you’re already holding down the Touch Sensor’s button when you start running the program?

What happened?

The robot doesn’t move at all. The waitUntil block detects that the sensor is Pressed and the motors are stopped before you can observe them moving.

Pressed simply means the button is in the pressed position. It does not matter how or when it was pressed in.

© 2016 Robomatter, Inc.

Portions of this product are manufactured under license from Carnegie Mellon University.